package com.ct;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 设置网关
 * 开启注册与发现 配置nacos地址
 *
* */
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class GGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(GGatewayApplication.class, args);
    }

}
